import { ref } from 'vue';
export function useState(initialState) {
    const state = ref(initialState);
    const setState = (value) => {
        state.value = value;
        return value;
    };
    return [state, setState];
}
